﻿using ZeroSum.Models;

namespace ZeroSum.Exceptions;

public class AlreadyExistedException : BusinessException
{
    private AlreadyExistedException(string message) : base(message, ResponseStatus.Error)
    {
    }

    public static AlreadyExistedException? Of(string message)
    {
        return new AlreadyExistedException(message);
    }
}